package com.qiaofang.collectmanage.stub.constants;

public  enum HouseAgentResponseCode {
    RC_PARAMETER_ERROR("collectrule001","parameter invalid"),
    RC_EXCEPTION_ERROR("collectrule002","service exception"),
    HOUSE_AGENT_EXIST("HOUSE_AGENT_EXIST","该中介信息已存在"),
    HOUSE_AGENT_NOTEXIST("HOUSE_AGENT_NOTEXIST","该中介信息不存在"),
    HOUSE_AGENT_GET("HOUSE_AGENT_GET","获取单个中介信息失败"),
    HOUSE_AGENT_DELETE("HOUSE_AGENT_DELETE","删除单个中介信息失败"),
    HOUSE_AGENT_UPLOAD_FILE_SIZE_MAX("HOUSE_AGENT_UPLOAD_FILE_SIZE_MAX","上传文件过大"),
    HOUSE_AGENT_BATCH_UPDATE_HOUSE_AGENT_TAG("HOUSE_AGENT_BATCH_UPDATE_HOUSE_AGENT_TAG","批量更新房源中介标识失败"),
    RC_UPDATE_BATCH_ERROR("collectrule103","批量更新数据失败") ;

	private String responseCode;
    private String responseMessage;

    HouseAgentResponseCode(String responseCode, String responseMessage){
        this.responseCode = responseCode;
        this.responseMessage = responseMessage;
    }

    public String getResponseCode() {
        return responseCode;
    }

    public void setResponseCode(String responseCode) {
        this.responseCode = responseCode;
    }

    public String getResponseMessage() {
        return responseMessage;
    }

    public void setResponseMessage(String responseMessage) {
        this.responseMessage = responseMessage;
    }
    
}
